package com.example.gybicycle.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Date;

import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;

@Data
@Schema(name ="菜单")
public class SysMenuOld {
    @Schema(description = "菜单id")
    private String id;
    @Schema(description = "父id")
    private Integer pid;
    @Schema(description = "所有父id")
    private String pids;
    @Schema(description = "等级 1 模块 2 权限")
    private Integer level;
    @Schema(description = "菜单名")
    private String name;
    @Schema(description = "路径")
    private String path;
    @Schema(description = "组件地址")
    private String component;
    @Schema(description = "标识")
    private String sgin;
    @Schema(description = "图标")
    private String icon;
    @Schema(description = "修改人")
    private String editBy;
    @Schema(description = "修改人名称")
    private  String editName;
    @Schema(description = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date editTime;
    @Schema(description = "排序")
    private Integer sort;
    @Schema(description = "状态 0 显示 1隐藏")
    private Integer status;
    @Schema(description = "状态 0 显示 1隐藏")
    private String remark;
    private String title;
    private boolean hidden;
    private boolean alwaysShow;
    private String params;
    private String roles;



}